﻿using System;
using System.Linq;
using System.Text;
using Model.Core;
using SIE.SCADA.SqlSugar;

namespace Models
{
    ///<summary>
    ///SCADA工步信息表
    ///</summary>
    [SugarTable("scada_jobstep_record")]
    public partial class scada_jobstep_record : NotifyPropertyChanged
    {
        public scada_jobstep_record()
        {


        }
          
        [SugarColumn(IsPrimaryKey=true,IsIdentity =true)]
        public int id { get; set; }

        
        public string jobstep_code_str { get; set; }
         
        public string jobstep_str { get; set; }
       
        public int? jobstep_id_int { get; set; }
         
        public string element_type_str { get; set; }
       

        
        public decimal? torque { get; set; }
         
        public decimal? angle { get; set; }
         
        public string comment_str { get; set; }
          
        public DateTime createtime_dt { get; set; }
         
        //public string createuser_str { get; set; }
        
        public DateTime modifytime_dt { get; set; }
          
        public string remark_str { get; set; }
       
       
          

        public int? state_int { get; set; }



        // Desc:序列号         
        public string serial_number { get; set; }
        

        

        //工单号         
        public string disidno { get; set; }

             
        public int? processid { get; set; }

        public int? batchsize { get; set; }

        public int batchstatus { get; set; }

   

        public decimal? acttorque { get; set; }
       

        

        public decimal? actangle { get; set; }
       


        public int torquestatus { get; set; }




        public string tighteningid { get; set; }

        /// <summary>
        /// KJF 20210406 新增
        /// 设备编码
        /// </summary>
        public string equipmentcode { get; set; }





        /// <summary>
        /// KJF 20211106 新增
        /// 设备编码
        /// </summary>
        public string equipmentname { get; set; }







        /// <summary>
        /// KJF 20210409 新增
        /// 用户ID
        /// </summary>
        public string userid { get; set; }





        public string poid { get; set; }

        public string vinnum { get; set; }
        //第几步  
        //public string step { get; set; }
          
        public int anglestatus { get; set; }
         
        //public string status { get; set; }

        public string batchcounter { get; set; }

        public string torquefinaltarget { get; set; }

               
        //public DateTime? time { get; set; }

        //public string jobid { get; set; }

        public int TighteningStatus { get; set; }

        public string matid { get; set; }



        public string productid { get; set; }



        public string repair { get; set; }

        public string torquestatusDesc { get; set; }


        public string anglestatusDesc { get; set; }


        public string TighteningStatusDesc { get; set; }


        public string batchstatusDesc { get; set; }


        public int step { get; set; }

        public int prodid { get; set; }


    }
}
